package com.labreeze.spring.aop.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.scheduling.annotation.Async;

@Aspect
public class PreGreetingAspect {
	
	//*旁边有空格
	@Before("execution(* greetTo(..))")
	public void beforeGreeting(){
		System.out.println("how are you!");
	}

}
